//
//  SingleClass.swift
//  SwiftStudy
//
//  Created by wangtian on 15/7/27.
//  Copyright (c) 2015年 wangtian. All rights reserved.
//

import UIKit


class SingleClass: AnyObject
{
    class func shareInstance() -> AnyObject
    {
        struct Static {
            static var onceToken : Int = 0
            static var instance : AnyObject?
        }
        return Static.instance!
    }
}
